package page;
/*
 * 调用
 */
public class ffff {
	public static void main(String[] args) {
		Yuan1 man3 = new Yuan1(4, 6, 23);
		man3.Add1();
		man3.Add();
	}
}
 class Yuan1 {
	public int c;
	public int a;
	public int b;
	Integer man;//先定义后new对象
	Integer man2;

	public Yuan1(int a, int c, int b) {
		this.a = a;
		this.b = b;
		this.c = c;
		man=new Integer(a);
				man2=new Integer(b);
	}

	public void Add() {
		System.out.println(a);
		System.out.println(b);
		System.out.println(c);
	}

	public void Add1()  {
		System.out.println("这个是正确的");
		System.out.println(man.intValue());
		System.out.println(man2.intValue());
	}
}